package com.pap.product.agent.publish.dto;

import java.io.Serializable;
import java.util.List;

public class ProductPublishWithDetailDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * 当前操作的发布产品的编号
	 */
	private String id;
	
	/**
	 * 关联的产品编号
	 */
	private String productId;

	/**
	 * 状态,所属表字段为t_product_publish.STATUS_FLAG
	 */
	private String statusFlag;

	/**
	 * 生效时间,所属表字段为t_product_publish.BEGIN_TIME
	 */
	private String beginTime;

	/**
	 * 失效时间,所属表字段为t_product_publish.END_TIME
	 */
	private String endTime;

	/**
	 * 区域集合
	 */
	private List<ProductPublishAreaDTO> areaDetails;
	
	/**
	 * 车辆集合
	 */
	private List<ProductPublishCarDTO> carDetails;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getStatusFlag() {
		return statusFlag;
	}

	public void setStatusFlag(String statusFlag) {
		this.statusFlag = statusFlag;
	}

	public String getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public List<ProductPublishAreaDTO> getAreaDetails() {
		return areaDetails;
	}

	public void setAreaDetails(List<ProductPublishAreaDTO> areaDetails) {
		this.areaDetails = areaDetails;
	}

	public List<ProductPublishCarDTO> getCarDetails() {
		return carDetails;
	}

	public void setCarDetails(List<ProductPublishCarDTO> carDetails) {
		this.carDetails = carDetails;
	}

	@Override
	public String toString() {
		return "ProductPublishWithDetailDTO [id=" + id + ", productId=" + productId + ", statusFlag=" + statusFlag
				+ ", beginTime=" + beginTime + ", endTime=" + endTime + ", areaDetails=" + areaDetails + ", carDetails="
				+ carDetails + "]";
	}
	
}
